package org.kabeja.dxf.helpers;

import java.util.ArrayList;
import java.util.List;

/**
 * @author shutao
 * @since 2022/4/24 16:57
 */
public class DXFMLineSegment {
    protected Point startPoint = new Point();
    protected Vector direction = new Vector();
    protected Vector miterDirection = new Vector();
    protected List<Object> elements = new ArrayList<>();

    public DXFMLineSegment() {
    }

    public Point getStartPoint() {
        return this.startPoint;
    }

    public void setStartPoint(Point var1) {
        this.startPoint = var1;
    }

    public Vector getDirection() {
        return this.direction;
    }

    public void setDirection(Vector var1) {
        this.direction = var1;
    }

    public Vector getMiterDirection() {
        return this.miterDirection;
    }

    public void setMiterDirection(Vector var1) {
        this.miterDirection = var1;
    }

    public void addDXFMLineSegmentElement(DXFMLineSegmentElement var1) {
        this.elements.add(var1);
    }

    public int getDXFMLineSegmentElementCount() {
        return this.elements.size();
    }

    public DXFMLineSegmentElement getDXFMLineSegmentElement(int var1) {
        return (DXFMLineSegmentElement)this.elements.get(var1);
    }
}
